package com.sadam.ui4.Data;

public class Comment {
    private long id;
    private long videoId;
    private long userId;
    private String content;
    private long time;
    private String userName;
    private String userAvatarUrl;

    // 构造函数
    public Comment(long id, long videoId, long userId, String content, long time,
                   String userName, String userAvatarUrl) {
        this.id = id;
        this.videoId = videoId;
        this.userId = userId;
        this.content = content;
        this.time = time;
        this.userName = userName;
        this.userAvatarUrl = userAvatarUrl;
    }

    // Getter & Setter
    public long getId() { return id; }
    public void setId(long id) { this.id = id; }

    public long getVideoId() { return videoId; }
    public void setVideoId(long videoId) { this.videoId = videoId; }

    public long getUserId() { return userId; }
    public void setUserId(long userId) { this.userId = userId; }

    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }

    public long getTime() { return time; }
    public void setTime(long time) { this.time = time; }

    public String getUserName() { return userName; }
    public void setUserName(String userName) { this.userName = userName; }

    public String getUserAvatarUrl() { return userAvatarUrl; }
    public void setUserAvatarUrl(String userAvatarUrl) { this.userAvatarUrl = userAvatarUrl; }
}